package com.sunny.blog.service;

import com.sunny.blog.pojo.IpInfoBean;

/**
 * @ClassName: OpenApiService
 * @Description: 第三方api接口服务
 * @Author: sunt
 * @Date: 2020/5/9 9:45
 * @Version 1.0
 **/
public interface OpenApiService {

    /**
     * 查询ip信息
     * @param ip
     * @return
     */
    IpInfoBean queryIpInfo(String ip);

    /**
     * 百度主动实时推送
     * @param site
     */
    void baiduPush(String site);
}
